package com.ww.sound_emission.domain.VO;



import lombok.Data;

import java.util.List;

@Data
public class SensorDataResult  {
    private List<Double> s1Values;
    private List<Double> s2Values;
    private List<Double> s3Values;
    private List<Integer> countlist1;
    private List<Integer> countlist2;
    private List<Integer> countlist3;


    // 构造函数（支持初始化新增的 countlist 字段）
    public SensorDataResult(List<Double> s1Values, List<Double> s2Values, List<Double> s3Values,
                            List<Integer> countlist1, List<Integer> countlist2, List<Integer> countlist3) {
        this.s1Values = s1Values;
        this.s2Values = s2Values;
        this.s3Values = s3Values;
        this.countlist1 = countlist1;
        this.countlist2 = countlist2;
        this.countlist3 = countlist3;
    }


    // Getter 方法
    public List<Double> getS1Values() {
        return s1Values;
    }


    public List<Double> getS2Values() {
        return s2Values;
    }


    public List<Double> getS3Values() {
        return s3Values;
    }


    public List<Integer> getCountlist1() {
        return countlist1;
    }


    public List<Integer> getCountlist2() {
        return countlist2;
    }


    public List<Integer> getCountlist3() {
        return countlist3;
    }


    // 重写 toString 方法
    @Override
    public String toString() {
        return "SensorDataResult{" +
                "s1Values=" + s1Values +
                ", s2Values=" + s2Values +
                ", s3Values=" + s3Values +
                ", countlist1=" + countlist1 +
                ", countlist2=" + countlist2 +
                ", countlist3=" + countlist3 +
                '}';
    }
}
